package com.threads;

import java.util.concurrent.ThreadFactory;

/**
 * @author 13699
 */
public class DaemonThreadFactory implements ThreadFactory {
    @Override
    public Thread newThread(Runnable r) {
        Thread t=new Thread(r);
        return t;
    }
}
